package com.his.drugstage.service.impl;

import com.his.drugstage.mapper.DrugRegisterMapper;
import com.his.drugstage.pojo.Register;
import com.his.drugstage.service.DrugRegisterService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;
import java.util.ArrayList;
@Service
public class DrugRegisterServiceImpl implements DrugRegisterService {
    @Autowired
    DrugRegisterMapper registerMapper;

    @Override
    public ArrayList<Register> queryRegisterByConditions(Register register) {
        return registerMapper.queryRegisterByConditions(register);
    }
}
